<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
<body>
<jsp:include page="../_log_head.jsp"></jsp:include>
<form class="form-horizontal" action="login.do" method="post">
	<div class="control-group">
		<label class="control-label"for="ip">玩家Ip:</label>
		<div class="controls">
		  <input type="text" placeholder="玩家ip" name="ip" id="ip" value="${ip}">
		 <button type="submit" class="btn">查询</button>
		</div>
	</div>
</form>
<table class="table table-bordered">
  <caption>登录日志</caption>
  <thead>
    <tr>
      <th>时间</th>
      <th>用户</th>
      <th>IP</th>
    </tr>
  </thead>
  <tbody>
  <c:forEach var="login" items="${list}">
    <tr>
      <td>${login.at_time}</td>
      <td><tags:user id="${login.playerid}"/></td>
      <td><label class="area" >${login.ip}</label></td>
    </tr>
  </c:forEach>
  </tbody>
</table>
 <tags:page1 page="${page}" pageSize="${pageSize }" total="${total }" url="?playerId=${playerId}&ip=${ip}&page="/>
</body>
</html>